package com.tcoiss.jobadmin.dao;

import com.tcoiss.jobadmin.domain.JobLogReport;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * test log
 * @author xuxueli 2019-11-22
 */
@Mapper
public interface XxlJobLogReportDao {

	public int save(JobLogReport xxlJobLogReport);

	public int update(JobLogReport xxlJobLogReport);

	public List<JobLogReport> queryLogReport(@Param("triggerDayFrom") Date triggerDayFrom,
											 @Param("triggerDayTo") Date triggerDayTo);

	public JobLogReport queryLogReportTotal();

}
